class CreateCardScores < ActiveRecord::Migration
  def self.up
    create_table :card_scores do |t|
      t.references :user
      t.references :flashcard
      t.integer :times_correct
      t.integer :times_incorrect
      t.integer :last_three

      t.timestamps
    end
  end

  def self.down
    drop_table :card_scores
  end
end
